from odoo import fields, models


class Store(models.Model):
    _name = 'dragon.store'
    _description = '三龙百货仓库'
    # _rec_name = 'name'

    name = fields.Char(
        '仓库名称',
        required=True
    )
    addr = fields.Char(
        '仓库地址',
        required=True
    )
    phone = fields.Char(
        '订货电话',
        required=True
    )


